package com.liu.entity;

import cn.hutool.core.annotation.Alias;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * (HosDep)实体类
 *
 * @author makejava
 * @since 2023-03-06 20:56:37
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class HosDep {

    @TableId(type = IdType.AUTO)
    @Alias("ID")
    private Integer id;
    @Alias("医院编号")
    private Integer hosId;
    private Hospital hospital;
    @Alias("科室编号")
    private Integer depId;
    private Department department;

}

